//
// Created by Nasa on 2024/8/13.
//

#include <iostream>
#include <cmath>

using namespace std;

int main()
{
    int n = 2 * 2 * 2 * 2 * 5 * 5 * 11 * 17 * 37;
//    n = 2 * 2 * 2;
    for (int i = 2; i <= sqrt(n); ++i)
    {
        while (n%i==0)
        {
            cout<<i<<' ';
            n/=i;
        }
    }
    if(n>1)
    {
        cout<<n;
    }
    return 0;
}